public class Training07 {
    public static void main(String[] args) {
        printStar();
        prinNul();
    }
    public static void printStar(){
        for (int i = 1; i <=9 ; i++) {
            for (int j = 1; j <=i ; j++) {
                System.out.println("*");
            }
            System.out.println("\n");
        }
    }
    public static void prinNul(){
        for (int i = 1; i <=9 ; i++) {
            for (int j = 1; j <=i ; j++) {
                System.out.println(j+"x"+i+"="+i*j+"\n");
            }
            System.out.println("\n");
        }
    }
}
